<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style: none;
        }
        .header{
            width: 100%;
            height: 100px;
            border-bottom: 1px solid #000;
            padding-top: 25px;
            box-sizing: border-box;
        }
        .header input{
            width: 60%;
            height: 50px;
            outline: none;
            text-indent: 1em;
            border: 1px solid #eee;
            border-radius: 20px;
            margin-left: 20px;
            margin-right: 20px;
        }
        .header button{
            width: 20%;
            height: 50px;
            border-radius: 10px;
            background-color: pink;
            border: none;
            color: white;
        }
        .nav{
            width: 100%;
            height: 60px;
            display: flex;
            justify-content: space-around
        }
        .nav p:nth-child(1){
            font-size: 24px;
            line-height: 60px;
        }
        .nav p:nth-child(2){
            line-height: 60px;
            color: #666;
        }
        .box li{
            width: 80px;
            height: 50px;
            background-color: #666;
            text-align: center;
            line-height: 50px;
            color: #eee;
            border-radius: 10px;
            margin: 10px 20px;
            float: left;
        }
    </style>
</head>
<body>
    <div class="header">
        <input type="text" placeholder="程序员假发">
        <button>搜索</button>
    </div>
    <div class="nav">
        <p>搜索记录</p>
        <p class="clear">清空</p>
    </div>
    <ul class="box">
        <li>程序员</li>
        <li>程序员</li>
        <li>程序员</li>
        <li>程序员</li>
        <li>程序员</li>
    </ul>

   <script src="./index.js"></script>
</body>
</html>